<!DOCTYPE html>
<html>
<head>
	<title>%title</title>
	<style type="text/css">
		*{
			margin: 0px;
			padding: 0px;
		}
		.container{
			width: 560px;
			margin: 0px auto;
		}
		.container h1{
			padding: 20px;
		}
		.item{
			border-bottom: 1px dashed #ccc;
			height: 100px;
		}
		.item:nth-child(2n+1)
			{
			background:#ccc;
			}
		.item h6{
			padding: 20px;
			color: #333;
		}
		.item span{
			color: #666;
			float: right;
		}
		.item p{
			padding: 10px;
			color: #666;
		}
		.i1{
			border:0px;
			padding: 10px;
		}
		.i2{
			display: inline-block;
			border:0px;
			padding: 10px;
			width: 88%;
			height: 50px;
		}
		.b1{
			display: inline-block;
			background-color: #ccc;
		}
		a{
			text-decoration: none;
			float: right;
			color: black;
			font-size: 14px;
		}
	</style>
</head>
<body>
	<div class="container">
		<h1>留言版4</h1>
		<hr/>
		<form method="POST" action="/addmessage.html">
			&nbsp;&nbsp;昵称:<input type="text" name="author" class="i1">
			<br/>
			<textarea type="text" name="message" class="i2"></textarea>
			<button type="submit" class="b1">留言</button>
		</form>
		%main
	</div>
</body>
</html>